package com.ghost.alibabaghost.api.service.sys;

import com.ghost.alibabaghost.api.model.sys.SysUserRoleModel;

/**
 * @author yaolisheng
 * @version 1.0
 * @date 2022/1/14 23:06
 */
public interface SysUserRoleService {

    SysUserRoleModel queryRoleByUserId(Integer userId);

    Integer insertUserRole(SysUserRoleModel sysUserRoleModel);

    Integer updateByUserId(SysUserRoleModel sysUserRoleModel);
}
